﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Team4Mock.Entity
{
    public class ServiceEntity
    {
        private string serviceName;
        private string serviceShortDes;
        private string subType;
        private int leadContact;
        private string clientDescription;
        private string serviceAttendance;
        private DateTime serviceStartExpected;
        private DateTime serviceStartDate;
        private DateTime serviceEndDate;
        private string serviceExtendable;
        private int serviceExtenYears;
        private int serviceExtenMonth;
        private string serviceActive;
        private string serviceFullDes;
        private string deptCode;
        private string serviceType;
        private string serviceDesDel;
        private string serviceContractCode;
        private string serviceContractValue;
        private string contractStagedPayment;
        private string referralProcess;
        private string serviceTimeLimited;
        private int serviceTimeLimitedYear;
        private int serviceTimeLimitedMonth;
        private int programmeID;
        private string participation;
        public ServiceEntity()
        { }
        public ServiceEntity(string serviceName, string serviceShortDes, string subType, int leadContact, string clientDescription, string serviceAttendance, DateTime serviceStartExpected, DateTime serviceStartDate, DateTime serviceEndDate, string serviceExtendable, int serviceExtenYears, int serviceExtenMonth, string serviceActive, string serviceFullDes, string deptCode, string serviceType, string serviceDesDel, string serviceContractCode, string serviceContractValue, string contractStagedPayment, string referralProcess, string serviceTimeLimited, int serviceTimeLimitedYear, int serviceTimeLimitedMonth, int programmeID, string participation)
        {
            this.serviceName = serviceName;
            this.serviceShortDes = serviceShortDes;
            this.subType = subType;
            this.leadContact = leadContact;
            this.clientDescription = clientDescription;
            this.serviceAttendance = serviceAttendance;
            this.serviceStartExpected = serviceStartExpected;
            this.serviceStartDate = serviceStartDate;
            this.serviceEndDate = serviceEndDate;
            this.serviceExtendable = serviceExtendable;
            this.serviceExtenYears = serviceExtenYears;
            this.serviceExtenMonth = serviceExtenMonth;
            this.serviceActive = serviceActive;
            this.serviceFullDes = serviceFullDes;
            this.deptCode = deptCode;
            this.serviceType = serviceType;
            this.serviceDesDel = serviceDesDel;
            this.serviceContractCode = serviceContractCode;
            this.serviceContractValue = serviceContractValue;
            this.contractStagedPayment = contractStagedPayment;
            this.referralProcess = referralProcess;
            this.serviceTimeLimited = serviceTimeLimited;
            this.serviceTimeLimitedYear = serviceTimeLimitedYear;
            this.serviceTimeLimitedMonth = serviceTimeLimitedMonth;
            this.programmeID = programmeID;
            this.participation = participation;
        }

        public string ServiceName
        {
            get { return this.serviceName; }
            set { this.serviceName = value; }
        }
        public string ServiceShortDes
        {
            get { return this.serviceShortDes; }
            set
            {
                if (value == null)
                    throw new Exception("serviceShortDes not allow nullvalue.");
                this.serviceShortDes = value;
            }
        }
        public string SubType
        {
            get { return this.subType; }
            set
            {
                if (value == null)
                    throw new Exception("subType not allow nullvalue.");
                this.subType = value;
            }
        }
        public int LeadContact
        {
            get { return this.leadContact; }
            set { this.leadContact = value; }
        }
        public string ClientDescription
        {
            get { return this.clientDescription; }
            set { this.clientDescription = value; }
        }
        public string ServiceAttendance
        {
            get { return this.serviceAttendance; }
            set { this.serviceAttendance = value; }
        }
        public DateTime ServiceStartExpected
        {
            get { return this.serviceStartExpected; }
            set { this.serviceStartExpected = value; }
        }
        public DateTime ServiceStartDate
        {
            get { return this.serviceStartDate; }
            set { this.serviceStartDate = value; }
        }
        public DateTime ServiceEndDate
        {
            get { return this.serviceEndDate; }
            set { this.serviceEndDate = value; }
        }
        public string ServiceExtendable
        {
            get { return this.serviceExtendable; }
            set { this.serviceExtendable = value; }
        }
        public int ServiceExtenYears
        {
            get { return this.serviceExtenYears; }
            set { this.serviceExtenYears = value; }
        }
        public int ServiceExtenMonth
        {
            get { return this.serviceExtenMonth; }
            set { this.serviceExtenMonth = value; }
        }
        public string ServiceActive
        {
            get { return this.serviceActive; }
            set { this.serviceActive = value; }
        }
        public string ServiceFullDes
        {
            get { return this.serviceFullDes; }
            set { this.serviceFullDes = value; }
        }
        public string DeptCode
        {
            get { return this.deptCode; }
            set
            {
                if (value == null)
                    throw new Exception("deptCode not allow nullvalue.");
                this.deptCode = value;
            }
        }
        public string ServiceType
        {
            get { return this.serviceType; }
            set
            {
                if (value == null)
                    throw new Exception("serviceType not allow nullvalue.");
                this.serviceType = value;
            }
        }
        public string ServiceDesDel
        {
            get { return this.serviceDesDel; }
            set { this.serviceDesDel = value; }
        }
        public string ServiceContractCode
        {
            get { return this.serviceContractCode; }
            set { this.serviceContractCode = value; }
        }
        public string ServiceContractValue
        {
            get { return this.serviceContractValue; }
            set { this.serviceContractValue = value; }
        }
        public string ContractStagedPayment
        {
            get { return this.contractStagedPayment; }
            set { this.contractStagedPayment = value; }
        }
        public string ReferralProcess
        {
            get { return this.referralProcess; }
            set { this.referralProcess = value; }
        }
        public string ServiceTimeLimited
        {
            get { return this.serviceTimeLimited; }
            set { this.serviceTimeLimited = value; }
        }
        public int ServiceTimeLimitedYear
        {
            get { return this.serviceTimeLimitedYear; }
            set { this.serviceTimeLimitedYear = value; }
        }
        public int ServiceTimeLimitedMonth
        {
            get { return this.serviceTimeLimitedMonth; }
            set { this.serviceTimeLimitedMonth = value; }
        }
        public int ProgrammeID
        {
            get { return this.programmeID; }
            set { this.programmeID = value; }
        }
        public string Participation
        {
            get { return this.participation; }
            set { this.participation = value; }
        }
    }
}